[INFO] cloning repository https://github.com/rinp/euler_rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rinp/euler_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frinp%2Feuler_rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frinp%2Feuler_rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 40e3de61ca122e89cfc7cbed6ec6eb2ea343eb48
[INFO] building rinp/euler_rust against master#881c1ac408d93bb7adaa3a51dabab9266e82eee8 for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frinp%2Feuler_rust" "/workspace/builds/worker-11/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/rinp/euler_rust on toolchain 881c1ac408d93bb7adaa3a51dabab9266e82eee8
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/rinp/euler_rust
[INFO] finished tweaking git repo https://github.com/rinp/euler_rust
[INFO] tweaked toml for git repo https://github.com/rinp/euler_rust written to /workspace/builds/worker-11/source/Cargo.toml
[INFO] crate git repo https://github.com/rinp/euler_rust already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 53fa678342c67f3a1463274c5acc51856df0c8f2a8f75c6004d4e57096ee1b5e
[INFO] running `Command { std: "docker" "start" "-a" "53fa678342c67f3a1463274c5acc51856df0c8f2a8f75c6004d4e57096ee1b5e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "53fa678342c67f3a1463274c5acc51856df0c8f2a8f75c6004d4e57096ee1b5e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "53fa678342c67f3a1463274c5acc51856df0c8f2a8f75c6004d4e57096ee1b5e", kill_on_drop: false }`
[INFO] [stdout] 53fa678342c67f3a1463274c5acc51856df0c8f2a8f75c6004d4e57096ee1b5e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a3470c01f72929aa520261c5fbf2ae62b6b856cbcdf00da55c6970d1186332fc
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "a3470c01f72929aa520261c5fbf2ae62b6b856cbcdf00da55c6970d1186332fc", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.21
[INFO] [stderr]    Compiling num-traits v0.1.37
[INFO] [stderr]    Compiling semver v0.1.20
[INFO] [stderr]    Compiling fnv v1.0.5
[INFO] [stderr]    Compiling lazy_static v0.2.4
[INFO] [stderr]    Compiling rand v0.3.15
[INFO] [stderr]    Compiling num_cpus v1.3.0
[INFO] [stderr]    Compiling time v0.1.36
[INFO] [stderr]    Compiling rustc_version v0.1.7
[INFO] [stderr]    Compiling num-integer v0.1.33
[INFO] [stderr]    Compiling num-complex v0.1.36
[INFO] [stderr]    Compiling tempfile v2.1.5
[INFO] [stderr]    Compiling num-iter v0.1.33
[INFO] [stderr]    Compiling num-bigint v0.1.37
[INFO] [stderr]    Compiling deque v0.3.1
[INFO] [stderr]    Compiling rayon v0.6.0
[INFO] [stderr]    Compiling num-rational v0.1.36
[INFO] [stderr]    Compiling num v0.1.37
[INFO] [stderr]    Compiling euler v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/common/iter.rs:3:28
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn prime_iter() -> Box<Iterator<Item = u64>> {
[INFO] [stdout]   |                            ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator<Item = u64>`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]   = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/common/iter.rs:44:52
[INFO] [stdout]    |
[INFO] [stdout] 44 | ...                   -> Box<Iterator<Item = Vec<E>>> {
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator<Item = Vec<E>>`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/common/iter.rs:57:54
[INFO] [stdout]    |
[INFO] [stdout] 57 | fn combination_add(length: usize, max: usize) -> Box<Iterator<Item = Vec<usize>>> {
[INFO] [stdout]    |                                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator<Item = Vec<usize>>`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/common/iter.rs:60:17
[INFO] [stdout]    |
[INFO] [stdout] 60 |     let it: Box<Iterator<Item = Vec<usize>>> = Box::new(base_it);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator<Item = Vec<usize>>`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/common/iter.rs:65:32
[INFO] [stdout]    |
[INFO] [stdout] 65 |                       now: Box<Iterator<Item = Vec<usize>>>,
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator<Item = Vec<usize>>`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/common/iter.rs:68:30
[INFO] [stdout]    |
[INFO] [stdout] 68 |                       -> Box<Iterator<Item = Vec<usize>>> {
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator<Item = Vec<usize>>`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread`
[INFO] [stdout]  --> src/prob501_600/prob501_510/p501.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::thread;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]  --> src/prob501_600/prob501_510/p501.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::sync::Arc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::mpsc`
[INFO] [stdout]  --> src/prob501_600/prob501_510/p501.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::sync::mpsc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]  --> src/prob101_200/prob101_110/p102.rs:8:54
[INFO] [stdout]   |
[INFO] [stdout] 8 |         Err(why) => panic!("couldn't open : {}  {}", Error::description(&why), why),
[INFO] [stdout]   |                                                      ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0515]: cannot return reference to temporary value
[INFO] [stdout]   --> src/prob501_600/prob501_510/p501.rs:33:18
[INFO] [stdout]    |
[INFO] [stdout] 33 |         .map(|l| &l.unwrap().parse::<u64>().unwrap());
[INFO] [stdout]    |                  ^----------------------------------
[INFO] [stdout]    |                  ||
[INFO] [stdout]    |                  |temporary value created here
[INFO] [stdout]    |                  returns a reference to data owned by the current function
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of a shared reference
[INFO] [stdout]   --> src/prob501_600/prob501_510/p501.rs:47:13
[INFO] [stdout]    |
[INFO] [stdout] 47 |             (&primes.cloned())
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^ move occurs because value has type `Cloned<std::iter::Map<std::io::Lines<BufReader<File>>, [closure@src/prob501_600/prob501_510/p501.rs:33:14: 33:53]>>`, which does not implement the `Copy` trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of `primes`, a captured variable in an `FnMut` closure
[INFO] [stdout]   --> src/prob501_600/prob501_510/p501.rs:47:15
[INFO] [stdout]    |
[INFO] [stdout] 31 |     let primes = BufReader::new(tmp_file.reopen().unwrap())
[INFO] [stdout]    |         ------ captured outer variable
[INFO] [stdout] ...
[INFO] [stdout] 47 |             (&primes.cloned())
[INFO] [stdout]    |               ^^^^^^ move occurs because `primes` has type `std::iter::Map<std::io::Lines<BufReader<File>>, [closure@src/prob501_600/prob501_510/p501.rs:33:14: 33:53]>`, which does not implement the `Copy` trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of a shared reference
[INFO] [stdout]   --> src/prob501_600/prob501_510/p501.rs:51:13
[INFO] [stdout]    |
[INFO] [stdout] 51 |             (&primes.cloned())
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^ move occurs because value has type `Cloned<std::iter::Map<std::io::Lines<BufReader<File>>, [closure@src/prob501_600/prob501_510/p501.rs:33:14: 33:53]>>`, which does not implement the `Copy` trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of `primes`, a captured variable in an `FnMut` closure
[INFO] [stdout]   --> src/prob501_600/prob501_510/p501.rs:51:15
[INFO] [stdout]    |
[INFO] [stdout] 31 |     let primes = BufReader::new(tmp_file.reopen().unwrap())
[INFO] [stdout]    |         ------ captured outer variable
[INFO] [stdout] ...
[INFO] [stdout] 51 |             (&primes.cloned())
[INFO] [stdout]    |               ^^^^^^ move occurs because `primes` has type `std::iter::Map<std::io::Lines<BufReader<File>>, [closure@src/prob501_600/prob501_510/p501.rs:33:14: 33:53]>`, which does not implement the `Copy` trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of `primes`, a captured variable in an `FnMut` closure
[INFO] [stdout]   --> src/prob501_600/prob501_510/p501.rs:66:21
[INFO] [stdout]    |
[INFO] [stdout] 31 |     let primes = BufReader::new(tmp_file.reopen().unwrap())
[INFO] [stdout]    |         ------ captured outer variable
[INFO] [stdout] ...
[INFO] [stdout] 66 |                     primes.cloned()
[INFO] [stdout]    |                     ^^^^^^ move occurs because `primes` has type `std::iter::Map<std::io::Lines<BufReader<File>>, [closure@src/prob501_600/prob501_510/p501.rs:33:14: 33:53]>`, which does not implement the `Copy` trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of `primes`, a captured variable in an `FnMut` closure
[INFO] [stdout]   --> src/prob501_600/prob501_510/p501.rs:63:13
[INFO] [stdout]    |
[INFO] [stdout] 31 |     let primes = BufReader::new(tmp_file.reopen().unwrap())
[INFO] [stdout]    |         ------ captured outer variable
[INFO] [stdout] ...
[INFO] [stdout] 63 |             primes.cloned()
[INFO] [stdout]    |             ^^^^^^ move occurs because `primes` has type `std::iter::Map<std::io::Lines<BufReader<File>>, [closure@src/prob501_600/prob501_510/p501.rs:33:14: 33:53]>`, which does not implement the `Copy` trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of `primes`, a captured variable in an `FnMut` closure
[INFO] [stdout]   --> src/prob501_600/prob501_510/p501.rs:65:22
[INFO] [stdout]    |
[INFO] [stdout] 31 |     let primes = BufReader::new(tmp_file.reopen().unwrap())
[INFO] [stdout]    |         ------ captured outer variable
[INFO] [stdout] ...
[INFO] [stdout] 65 |                 .map(|b: u64| {
[INFO] [stdout]    |                      ^^^^^^^^ move out of `primes` occurs here
[INFO] [stdout] 66 |                     primes.cloned()
[INFO] [stdout]    |                     ------
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     move occurs because `primes` has type `std::iter::Map<std::io::Lines<BufReader<File>>, [closure@src/prob501_600/prob501_510/p501.rs:33:14: 33:53]>`, which does not implement the `Copy` trait
[INFO] [stdout]    |                     move occurs due to use in closure
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of a shared reference
[INFO] [stdout]   --> src/prob501_600/prob501_510/p501.rs:38:24
[INFO] [stdout]    |
[INFO] [stdout] 38 |     let count_1: u64 = (&primes.cloned()).take_while(|&a| a * a * a * a * a * a * a < max)
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^ move occurs because value has type `Cloned<std::iter::Map<std::io::Lines<BufReader<File>>, [closure@src/prob501_600/prob501_510/p501.rs:33:14: 33:53]>>`, which does not implement the `Copy` trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of a shared reference
[INFO] [stdout]   --> src/prob501_600/prob501_510/p501.rs:43:24
[INFO] [stdout]    |
[INFO] [stdout] 43 |     let count_2: u64 = (&primes.cloned())
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^ move occurs because value has type `Cloned<std::iter::Map<std::io::Lines<BufReader<File>>, [closure@src/prob501_600/prob501_510/p501.rs:33:14: 33:53]>>`, which does not implement the `Copy` trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: use of moved value: `primes`
[INFO] [stdout]     --> src/prob501_600/prob501_510/p501.rs:43:26
[INFO] [stdout]      |
[INFO] [stdout] 31   |     let primes = BufReader::new(tmp_file.reopen().unwrap())
[INFO] [stdout]      |         ------ move occurs because `primes` has type `std::iter::Map<std::io::Lines<BufReader<File>>, [closure@src/prob501_600/prob501_510/p501.rs:33:14: 33:53]>`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout] 38   |     let count_1: u64 = (&primes.cloned()).take_while(|&a| a * a * a * a * a * a * a < max)
[INFO] [stdout]      |                                 -------- `primes` moved due to this method call
[INFO] [stdout] ...
[INFO] [stdout] 43   |     let count_2: u64 = (&primes.cloned())
[INFO] [stdout]      |                          ^^^^^^ value used here after move
[INFO] [stdout]      |
[INFO] [stdout] note: this function takes ownership of the receiver `self`, which moves `primes`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: use of moved value: `primes`
[INFO] [stdout]   --> src/prob501_600/prob501_510/p501.rs:44:14
[INFO] [stdout]    |
[INFO] [stdout] 31 |     let primes = BufReader::new(tmp_file.reopen().unwrap())
[INFO] [stdout]    |         ------ move occurs because `primes` has type `std::iter::Map<std::io::Lines<BufReader<File>>, [closure@src/prob501_600/prob501_510/p501.rs:33:14: 33:53]>`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout] 43 |     let count_2: u64 = (&primes.cloned())
[INFO] [stdout]    |                                 -------- `primes` moved due to this method call
[INFO] [stdout] 44 |         .map(|a: u64| {
[INFO] [stdout]    |              ^^^^^^^^ value used here after move
[INFO] [stdout] ...
[INFO] [stdout] 47 |             (&primes.cloned())
[INFO] [stdout]    |               ------ use occurs due to use in closure
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of a shared reference
[INFO] [stdout]   --> src/prob501_600/prob501_510/p501.rs:59:24
[INFO] [stdout]    |
[INFO] [stdout] 59 |     let count_3: u64 = (&primes.cloned())
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^ move occurs because value has type `Cloned<std::iter::Map<std::io::Lines<BufReader<File>>, [closure@src/prob501_600/prob501_510/p501.rs:33:14: 33:53]>>`, which does not implement the `Copy` trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: use of moved value: `primes`
[INFO] [stdout]   --> src/prob501_600/prob501_510/p501.rs:59:26
[INFO] [stdout]    |
[INFO] [stdout] 31 |     let primes = BufReader::new(tmp_file.reopen().unwrap())
[INFO] [stdout]    |         ------ move occurs because `primes` has type `std::iter::Map<std::io::Lines<BufReader<File>>, [closure@src/prob501_600/prob501_510/p501.rs:33:14: 33:53]>`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout] 44 |         .map(|a: u64| {
[INFO] [stdout]    |              -------- value moved into closure here
[INFO] [stdout] ...
[INFO] [stdout] 47 |             (&primes.cloned())
[INFO] [stdout]    |               ------ variable moved due to use in closure
[INFO] [stdout] ...
[INFO] [stdout] 59 |     let count_3: u64 = (&primes.cloned())
[INFO] [stdout]    |                          ^^^^^^ value used here after move
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: use of moved value: `primes`
[INFO] [stdout]   --> src/prob501_600/prob501_510/p501.rs:60:14
[INFO] [stdout]    |
[INFO] [stdout] 31 |     let primes = BufReader::new(tmp_file.reopen().unwrap())
[INFO] [stdout]    |         ------ move occurs because `primes` has type `std::iter::Map<std::io::Lines<BufReader<File>>, [closure@src/prob501_600/prob501_510/p501.rs:33:14: 33:53]>`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout] 59 |     let count_3: u64 = (&primes.cloned())
[INFO] [stdout]    |                                 -------- `primes` moved due to this method call
[INFO] [stdout] 60 |         .map(|a: u64| {
[INFO] [stdout]    |              ^^^^^^^^ value used here after move
[INFO] [stdout] ...
[INFO] [stdout] 66 |                     primes.cloned()
[INFO] [stdout]    |                     ------ use occurs due to use in closure
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 15 previous errors; 10 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0382, E0507, E0515.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0382`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `euler`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "a3470c01f72929aa520261c5fbf2ae62b6b856cbcdf00da55c6970d1186332fc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a3470c01f72929aa520261c5fbf2ae62b6b856cbcdf00da55c6970d1186332fc", kill_on_drop: false }`
[INFO] [stdout] a3470c01f72929aa520261c5fbf2ae62b6b856cbcdf00da55c6970d1186332fc
